{% extends "base.html" %}
{% block content %}
<form action="" method="POST">
    {% csrf_token %}
    {% for field in form %}
        <span class="label label-info">{{ field.label }}</span>
        <br>
        <div class="input-prepend">
            {{ field }}
            <span class="add-on">
                <strong
                {% if field.errors %}
                    style = "color: red"
                {% endif %}
                >!</strong>
            </span>
            {{ field.errors }}
        </div>
    {% endfor %}
    <input type="submit" value="Дальше" class="btn btn-submit">
</form>
{% endblock %}